package com.chenxin.interact.api;

import com.chenxin.common.annotation.Log;
import com.chenxin.common.core.domain.AjaxResult;
import com.chenxin.common.core.domain.RcsResult;
import com.chenxin.common.enums.BusinessType;
import com.chenxin.interact.domain.dto.RcsCallbackDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("rcs/interact")
public class RcsAPI {
    @Log(title = "RCS任务执行通知", businessType = BusinessType.INSERT)
    @PostMapping("/agvCallback")
    public RcsResult agvCallback(@RequestBody RcsCallbackDTO dto) {


        return new RcsResult().success("success");
    }
}
